package com.css.upms.biz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.css.upms.api.entity.SysRoleDept;

/**
 * 角色机构关系
 *
 * @author hanyx
 * @date 2019-05-03 02:50:41
 */
public interface SysRoleDeptService extends IService<SysRoleDept> {

  /**
   * 角色机构关系简单分页查询
   * @param sysRoleDept 角色机构关系
   * @return
   */
  IPage<SysRoleDept> getSysRoleDeptPage(Page<SysRoleDept> page, SysRoleDept sysRoleDept);


  Boolean saveRoleDepts(String roleId, String deptIds);
}
